
package com.example.demo.client;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.Action;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.4.2
 * 2021-02-19T15:16:19.959+08:00
 * Generated source version: 3.4.2
 *
 */
public final class PersonServiceImpl_PersonServiceImplPort_Client {

    private static final QName SERVICE_NAME = new QName("http://server.webservice.liurq.org/", "PersonServiceImplService");

    private PersonServiceImpl_PersonServiceImplPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = PersonServiceImplService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }

        PersonServiceImplService ss = new PersonServiceImplService(wsdlURL, SERVICE_NAME);
        PersonServiceImpl port = ss.getPersonServiceImplPort();

        {
        System.out.println("Invoking getPersonAge...");
        int _getPersonAge_arg0 = 0;
        com.example.demo.client.Person _getPersonAge__return = port.getPersonAge(_getPersonAge_arg0);
        System.out.println("getPersonAge.result=" + _getPersonAge__return);


        }
        {
        System.out.println("Invoking getPersonsInfo...");
        java.lang.String _getPersonsInfo_arg0 = "";
        int _getPersonsInfo_arg1 = 0;
        java.util.List<com.example.demo.client.Person> _getPersonsInfo__return = port.getPersonsInfo(_getPersonsInfo_arg0, _getPersonsInfo_arg1);
        System.out.println("getPersonsInfo.result=" + _getPersonsInfo__return);


        }
        {
        System.out.println("Invoking getPersonInfo...");
        java.lang.String _getPersonInfo_arg0 = "";
        int _getPersonInfo_arg1 = 0;
        com.example.demo.client.Person _getPersonInfo__return = port.getPersonInfo(_getPersonInfo_arg0, _getPersonInfo_arg1);
        System.out.println("getPersonInfo.result=" + _getPersonInfo__return);


        }
        {
        System.out.println("Invoking getPersonName...");
        java.lang.String _getPersonName_arg0 = "";
        com.example.demo.client.Person _getPersonName__return = port.getPersonName(_getPersonName_arg0);
        System.out.println("getPersonName.result=" + _getPersonName__return);


        }

        System.exit(0);
    }

}
